home *** CD-ROM | disk | FTP | other *** search
- Path: fu.bekkoame.or.jp!usenet
- From: Giles Goddard <giles@fumin.nintendo.co.jp>
- Newsgroups: comp.lang.c++
- Subject: Q: Forward declaring class templates..
- Date: Tue, 20 Feb 1996 19:58:41 +0900
- Organization: Nintendo Co. Ltd. (Japan)
- Message-ID: <3129A961.41C6@fumin.nintendo.co.jp>
- NNTP-Posting-Host: osk0070.bekkoame.or.jp
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-2022-jp
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; IRIX 5.3 IP22)
-
- Hi all,
-
- Am I missing something simple? I can do this:
-
- class Aclass;
-
-
- but not:
-
- template<class TYPE> class Aclass;
-
- because my compiler (CC on Irix 5.3) thinks I want Aclass to be
- locked in cement there and then. I dont, I just want to be able
- to declare a pointer to it before its been defined.
- Is this something inherent with templates? or is it me? or CC?
-
-
- TIA,
- giles
-